<?php

class Application_Form_modifierpersonne extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
    	
    	$this->setName("Formulairemodifierpersonne");
    	
    	$id = new Zend_Form_Element_Hidden('idpersonnes');
    	$id->setLabel('');
    	
    	$nom = new Zend_Form_Element_Text('nom');
    	$nom->setLabel('Nom');
    	 
    	$prenom = new Zend_Form_Element_Text('prenom');
    	$prenom->setLabel('Prenom');
    	 
    	$login = new Zend_Form_Element_Text('login');
    	$login->setLabel('Login');

    	$motpass = new Zend_Form_Element_Password('motpass');
    	$motpass->setLabel('Password');
    	
    	$mail = new Zend_Form_Element_Text('mail');
    	$mail->setLabel('Email');
    	
    	$valider = new Zend_Form_Element_Submit("submit");
    	$valider->setLabel("Modifier");
    	 
    	 
    	$this->addElements(array($id,$prenom,$nom,$login,$motpass,$mail,$valider));
    	$this->setDecorators( array( array('ViewScript', array('viewScript' => 'protypeform.phtml'))));
    }
}